<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><%= @title %></title>
<%= javascript_include_tag :all %>
<%= javascript_include_tag "ui/jquery.ui.core" %>
<%= javascript_include_tag "ui/jquery.ui.widget" %>
<%= javascript_include_tag "ui/jquery.ui.datepicker" %>
<%= javascript_include_tag "ui/jquery.ui.button.js" %>
<%= javascript_include_tag "ui/i18n/jquery.ui.datepicker-en" %>
<%= stylesheet_link_tag :all, :media => "all" %>

</head>

 <% if @body_tag %>
    <body <%= @body_tag %>>
  <% else %>
    <body id="public">
  <% end %>
	<div id="header">
		<div id="logo">
			<%= link_to image_tag("logo.png", :border=>0), :controller => "session", :action => "new"%>			
		</div>	
    </div>
	<div id="container">
	<div id="mensaje">
		<p>
			<%= flash[:notice] %>
		</p>
	</div>
	<%= render :partial => "/users/user_bar" %>
	<div id="wrapper">
		<%= yield %>
	</div>
	</div>
	<div id="bottom">
	</div>
</body>
</html>
